package main

import "fmt"

// const属于预编译期赋值，所以不需要:=进行自动推导
const (
	MONDAY = iota
	TUESDAY
	WEDNESDAY
	THURSDAY
	FRIDAY
	SATURDAY
	M, N = iota, iota
)

const (
	JANUARY = iota + 1
	FEBRUARY
	MARCH
	APRIL
	MAY
	JUNE
	JULY
	AUGUST
	SEPTEMBER
	OCT
	NOVEMBER
	DECEMBER
)

func main() {
	fmt.Println(MONDAY)
	fmt.Println(TUESDAY)
	fmt.Println(WEDNESDAY)
	fmt.Println(THURSDAY)
	fmt.Println(FRIDAY)

	fmt.Println(M, N) // 6 6

	fmt.Println(JANUARY)
	fmt.Println(FEBRUARY)
	fmt.Println(MARCH)
}
/*
0
1
2
3
4
6 6
1
2
3
*/
